package com.hongmeng.operater.domain.operaterUser;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongmeng.common.annotation.Excel;
import com.hongmeng.common.core.domain.BaseEntity;

/**
 * 企业信息对象 hm_customer
 * 
 * @author hongmeng
 * @date 2021-01-18
 */
public class HmCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业id */
    private Integer id;

    /** 企业号 */
    @Excel(name = "企业号")
    private String customerNo;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String customerName;

    /** 企业成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "企业成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customerCreateTime;

    /** 企业注册资本 */
    @Excel(name = "企业注册资本")
    private BigDecimal customerRegisteredCapital;

    /** 营业执照（图片） */
    @Excel(name = "营业执照", readConverterExp = "图=片")
    private Integer businessLicenseImg;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String legalPerson;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    private String socialCode;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String registerAddress;

    /** 办公地址 */
    @Excel(name = "办公地址")
    private String office;

    /** 单位电话 */
    @Excel(name = "单位电话")
    private String workTelephone;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactMobile;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 关联用户表id */
    @Excel(name = "关联用户表id")
    private Long userId;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setCustomerNo(String customerNo)
    {
        this.customerNo = customerNo;
    }

    public String getCustomerNo()
    {
        return customerNo;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setCustomerCreateTime(Date customerCreateTime)
    {
        this.customerCreateTime = customerCreateTime;
    }

    public Date getCustomerCreateTime()
    {
        return customerCreateTime;
    }
    public void setCustomerRegisteredCapital(BigDecimal customerRegisteredCapital)
    {
        this.customerRegisteredCapital = customerRegisteredCapital;
    }

    public BigDecimal getCustomerRegisteredCapital()
    {
        return customerRegisteredCapital;
    }
    public void setBusinessLicenseImg(Integer businessLicenseImg)
    {
        this.businessLicenseImg = businessLicenseImg;
    }

    public Integer getBusinessLicenseImg()
    {
        return businessLicenseImg;
    }
    public void setLegalPerson(String legalPerson)
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson()
    {
        return legalPerson;
    }
    public void setSocialCode(String socialCode)
    {
        this.socialCode = socialCode;
    }

    public String getSocialCode()
    {
        return socialCode;
    }
    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }
    public void setRegisterAddress(String registerAddress)
    {
        this.registerAddress = registerAddress;
    }

    public String getRegisterAddress()
    {
        return registerAddress;
    }
    public void setOffice(String office)
    {
        this.office = office;
    }

    public String getOffice()
    {
        return office;
    }
    public void setWorkTelephone(String workTelephone)
    {
        this.workTelephone = workTelephone;
    }

    public String getWorkTelephone()
    {
        return workTelephone;
    }
    public void setPostCode(String postCode)
    {
        this.postCode = postCode;
    }

    public String getPostCode()
    {
        return postCode;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setContactMobile(String contactMobile)
    {
        this.contactMobile = contactMobile;
    }

    public String getContactMobile()
    {
        return contactMobile;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("customerNo", getCustomerNo())
                .append("customerName", getCustomerName())
                .append("customerCreateTime", getCustomerCreateTime())
                .append("customerRegisteredCapital", getCustomerRegisteredCapital())
                .append("businessLicenseImg", getBusinessLicenseImg())
                .append("legalPerson", getLegalPerson())
                .append("socialCode", getSocialCode())
                .append("bankName", getBankName())
                .append("bankAccount", getBankAccount())
                .append("registerAddress", getRegisterAddress())
                .append("office", getOffice())
                .append("workTelephone", getWorkTelephone())
                .append("postCode", getPostCode())
                .append("contactPerson", getContactPerson())
                .append("contactMobile", getContactMobile())
                .append("email", getEmail())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("userId", getUserId())
                .toString();
    }
}